package com.example.pre.model;

//审批单实体
public class ApprovalForm {
	private int id;// 审批单id
	private int userId;// 用户id
	private String userName;// 用户名
	private String title;// 数据模块标题
	private int rootId;// 内容id
	private String rootType;// 所属内容模块
	private Long createTime;// 创建时间
	private String status;// 状态
	private int flowId;// 流程引擎中具体实例的id
	private String rejectReason;// 拒绝申请的理由

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getRootId() {
		return rootId;
	}

	public void setRootId(int rootId) {
		this.rootId = rootId;
	}

	public String getRootType() {
		return rootType;
	}

	public void setRootType(String rootType) {
		this.rootType = rootType;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getFlowId() {
		return flowId;
	}

	public void setFlowId(int flowId) {
		this.flowId = flowId;
	}

	public String getRejectReason() {
		return rejectReason;
	}

	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}

	@Override
	public String toString() {
		return "ApprovalForm [id=" + id + ", userId=" + userId + ", userName=" + userName + ", title=" + title
				+ ", rootId=" + rootId + ", rootType=" + rootType + ", createTime=" + createTime + ", status=" + status
				+ ", flowId=" + flowId + ", rejectReason=" + rejectReason + "]";
	}

}
